const spawn = require('child_process').spawn
const ls = spawn('ls', ['-lh', '../3-RESTful_API']);

ls.stdout.on('data', (data) => {
  console.log('stdout:', data.toString())
})

// ls.stderr.on('data', (data) => {
//   console.log('stdderr:', data.toString());
// })

ls.on('close', (code) => {
  console.log('child process exited width code',code)
})

